package org.zn.note.jdk.java8.Java8InAction.bean;

/**
 * @ClassName Banana
 * @Author zn
 * @Date 2020/1/3 14:59
 **/
public class Banana {
    public Banana() {
    }

    public Banana(String color, int weight) {
        this.color = color;
        this.weight = weight;
    }

    private String color;
    private int weight;

    public int getWeight() {
        return weight;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }
}
